Added styles file; refactored template inheritance.