Simple php page handler class