first sqlalchemy draft
fix db schema
add last_changed field to lines
import lines