Make cm::application a class
Merge pull request #45 from njam/issue-45

Make cm::application a class