Unit tests and comment system added.