Remove unused code
Ignore system files