Implemented most of DB entities