Refactored php controllers
Deleted test theme
Added phpspec to composer.json