Moved code-generation output to 'build' dir and added output to source set main/java