Add configuration support

* Rewrite logger
* Add mix task to start server