Added support for flags and a basic http-server is now implemented