realtime services and charting & refactor and cleanup project