> all the most common functions my creeps could need to use
This sounds like you should expand the according prototype:
main.js
```
require("Prototype_Creep");
```
Prototype_Creep.js
```
_.assign(Creep.prototype,{
get : function(val){return this.memory[val]},
});
// or another way to write:
Object.defineProperties(Creep.prototype,{
"costs" : { get : costs },
"Class" : { get : function(){return this.get("Class");}},
"type" : { get : function(){return this.get("type");}},
"task" : { get : function(){return this.get("task");}},
MAX_LIFE : { value: CREEP_LIFE_TIME, enumerable:false,writable:false},
MAX_BODYPARTS : { value: MAX_CREEP_SIZE , enumerable:false,writable:false},
});
```