Changed lib to src, created main app file, CMS class