making app pluggable