Use express framework, clean up some code.