Add foundation for CLI app

Wikibase QueryEngine CLI