updated file struct and setup build script