Made get constants static and made all the calls Memory instead of mem