included positionDict which probably won't work
improved keyloading and added parsers