clean up source directory
add legacy files