removed legacy files and some changes made