added submods and basic makefile