Added simple http server. Refactored messaging code
Minor refactoring
Added file handler module to websocket server