Add method to prepare directory structure when server starts first time.
Refactor logging
Merge pull request #73 from wagnert/0.5.8-beta

Refactor logging