Added resources and did some changes to the mainframe