PublicController template

Setup the functions and routing.

TODO fill in with some code!