Added API functions and did performance improvements on webserver
Updated travis.yml