Added CodeGenApplication class. Fixed some minor issues in the pro files.