Implement MIGRATE database mode

- Add Doctrine annotations to entity classes
- Create a new Doctrine migration after having created entity classes.