Minor reorganizing
Correcting aliases
Shrinking some code by using prime/type. Remove some deps on prime shells for now.
Setting module.exports in the beginning rather than in the end.