move common classes to package 'codebase'