Changed to use the express framework. Is cleaner