Web-based calculator built in Symfony 2.3