Major code refactor; achilles.Model removed and replaced with new db.register() API