allow class instance without starting server
classes moved to namespace
classes moved to namespace
reorganized classes for better re-usage