Change to php 5.4

Have a look at this url and see how much cleaner our code can be: http://php.net/manual/en/migration54.new-features.php

It would also be nice if we can use trait.