Adding api routes. Adding availability feature. Added data model