Implemented all tables for DB