added main function
added Makefile, config and Main