added web server for static resources, REST API for retrieving discrete metrics