moved files from lib/{api|models} to app/{api|models}