Major changes

Added a websocket server
Dynamic load css and js files now
Fixed bug: JSON page templates can have unlimited children depth now