refactor templates to use a base template
use bootstrap to improve webpage layout