Made the UI Bearable using flat-ui kit.

Changed the nav-bar method and made base-page function to accomodate
all common components of each page.