Extract from dothiv/dothiv
Implement entry creation
Fix doctrine relations