Add support for Mac OSX
Merge branch 'master' of https://github.com/stephenap07/sp_engine
Move logging into separate module