Update #1

- Added license to classes.
- Added metrics.
- Added a bit javadoc.
- Minor changes.