Revised files for PHP backend, separated menu file