refactored view structure to make template and tweaked some css