removed the time import as it was unused
Everything is tested to a degree except for deleting and miscellanious functions, I can probably move on to other stuff now!