added and used library/common for shared code