Fixes #34 ... and a million other things

Long live admin.php, admin.php is dead! No more switch-case crap!!! Woot!

@gholtslander 

This also fixes #13 (!!!!!!!!!!!!!!)