Return 400 status code if cannot decode sample
Catch all errors and convert them to valid HTTP responses

Also:
  -- started using custom leveled logger implemenration;
  -- moved all HTTP handlers to separate module.
Storage initialization via constructor
Move database prefix to database module
Exportable logger
Refactor main routine
Add favicon
Use current time if wrong timestamp provided