Tests working.
Added packaging and initial documentation.