Changed License to v3.
Refactored names of a few classes.