Setup base code structure.