delete legacy files
refactor to release