Moved parsing things from file/cmd line into separate file and added some initial code for tbb stuff