fixed missing usage and added parsing of flags
added documentation for configuring the services