make echo argument in create_engine configurable.
Update.
added serializing functions.
Added relationship for testing.