move common utils into common directory
updated the implementation of creating common library