Fixing Controller generator, modifying Doctrine setup for dev and prod, enabling cache cleaning