Setting up basic framework