Better build

Separated sub-projects build configurations, stub for the custom generateSource task.