how does a small sewage treatment plant work