Added script for testing.
Added interface for http server. Refactored http server interface.