initial commit of Allocate class