Moved api files to folder.
Updated cakefile to point to api folder for tests.