migrated some code from previous app, added teiid dependencies