Working in the text editor

Changing project structure for clarity (client/server/lib)