Move to sqlalchemy, need code to add user, sequence and components