Added tests for existing code
Test project file
Cleanup webapi project and added eventmanager
added websockets and fixed some bugs