Separated the logging logic from the request handler.
Started writing a dummy data generator for testing.