a http server based on python's HTTPServer added. Method registration added for REST API