All functions are now implemented and a test script has been added to the repo