plot refactored
added scheduler
mysql added