fixed some make files and removed outdated code
removed unwanted object files