Cleaned Program up and split it up in multiple pages.