made a global database connection

when moving to production grunt production must be called
removed clean from dev