Support singletons
Add mock for singletons
Add tests for the Recipe module
Various style changes and dcoumentation