Modified the parser to use a more uniform project structure, added an installation script, added a couple more regtests, fixed issue with undeclared variable and array sizing.