using php to create a basic mvc