Initalised most of the neccessary files