work on constructor and other functions for CDFmanager