remove unecessary files, got rid offew unnecessary mutexes