Use Symfony framework

Use symfony framework to help with development, and to help simplify classes.