Decrease compilation error count

Add some file, correct variable declaration