implement ORM with SqlAlchemy, build up common keyword list, start on generating tuples for training