added DataPassClass; saving and loading to file with prespecified filepath; added add-function to console