Removed unwanted files, updated cref.c