Added functions for purge and load modules to the ETL

This allows us to update the code through ssh properly