Rewrite server

Server sort of works, GET/POST config not yet implemented
Add config file