Key changed, rotues modfied to use controller and htaccess file added to make prettyurls