Delete main.h

Some unused code deleted