package structure, moved copy to backend