Using the SQLAlchemy Expression Language instead of ORM

Change-Id: Ibc9867f072116dec74a23e772c0a045244b93ad5