Updated query runner framework
Added first draft of automatic CM deployment script