Added logging, did a bit of pep work, and added admin views (working)