Added simple http handler to main