Public and Admin layouts in config

Updated the config.js file to move all the layout type views into one
state. Updated all the other views to inherit from that state. The same
was done for the admin type states.