added new files that allow for abstraction of db iface between diff ORM
frameworks. fix interfaces to parsing code.