Removed code not needed and applied css for the front.