PHP Class for better manipulating with database.