Switching from couchapp to erica, restructuring file structure