starting to remove old parser implementation
fixed some pattern match issues
enormous cleanup and reimplementation of module parsing, importing and
extending <sigh>
forgot to add
removed warnings