separate logger, server and routes
correctly log msg, remove test data, make formatting more flexible, retrieve ip