Added coverage script.

Moved tests.
Refactored.
Updated install guide.
Documentation corrections.
closed #7