added SendGrid for mail
reworked models and ORM