setup code base