prepare for refactoring
refactor common library to dll