Add Doctrine
fix error
Test with db