Adds Main file and setup