moved all sources to mainpkg package