Revamped database; added Clockwork dev tool console; used migrations