Introduce main.h.
Delete useless files.
Create obj dir and modify makefile to be more efficiant