Added classes for working with DB

Posts, Roles, Users