Factories, new DB migration and some specs