Got working general framework for deploying.