Setting up Class Structure