Added header size check
Removed main.m