implemented better associations
removed sqlite support