resetting db, moving stuff to models