Setting up framework.