Setting up Base Template