Move index page to action class.
Move rules page to action class.
Remove route that was not implemented.
Move search page to action class.