Cleaned up some code

Most of the admin-interfaces HTML went into a view-file