Issue #5.  Move admin functions to seperate file.