Setting up the framework.