Moved admin functionality to admin folder.
Added missing files.