GUI formatting and broke view into seperate class