Set up framework for program