implemented Node ORM instead of raw queries. So great