initalised all files and stuff