Model relations and some query builder stuff, started mysql driver