Setting up the framework