Added pinlock table. More work on parser.