altered names & interface of sqlite

To refelect data pattern names were changed and a new interface is in the
works.