merge build file and package structure