organising code, deleting some unnecessary files