started database interface.

minor updates to parsers