Split stuff up a bit, added admin page