restructured project

I've removed all the node stuff, moved the client side stuff to /web, the orm and websocket code to /lib and the entry point to /apps.  I'm not particularly sure this is good, but i think it's workable.