Setup code to remove duplicate code.
Added admin template and initial CSS.