sqlite implementation

changed framework from pandas to sqlite; more object-oriented queries