Added basic logging
Added file logging