added __slots__ to WBScript, moved constants to separate file
Moved variable-access classes to memory.py, some other refactoring and commenting