Refactoring.

Move License class to a separate file. Move license behavior from
Project to License class. General refactoring.
6 files changed