add resource, dbscipt and build file