Added basic logging. server.log is located under logs directory now.