added files for API routes and models #8 #9