Tidying

Deleted unnecessary files, sorted out file flags