Added resources for most of the database tables. And readAll, byId implemented

Only junction tables are not implemented yet