a boilerplate for creating a front-end controller for your php web apps