Refactored projects to be in line with applet vs server, added generic
controller, added communication threads