Moved symfony setup to its own file