Start of Admin

Some of the admin views, routes and functions + database simplification