consolidate common build

moved all common build to parent project