initialize code base