Updated file structure

Updated file structure so API functionality is contained within its own
area