add timing info to decomposition. move timer class to separate file