Added constructor from DB row and getById methods