working package parser.
closes issue #1