fixed import issue since I moved daemon to a new path, also refactored and added status_server to provide status of the server