removed old code
added common.hpp
adapted to new common.hpp