added doctrine to the composer, and removed old classes
reworked models
added local conf to the ignore
fixed dist config
fixed dist config