set up basic code structure