Added Cakefile and restructured files for build system