Cleanup to conform to gem standards, and added fog as a dependency