Change the constants that point us to various subdirs.

In particular, fix up names of certain subdirectories where we
expect files to reside (controllers, migrations, models). This
way the API class knows where to load up its (sub)apps and their
files from.