made two methods static.
Added parse method.
Added package-info
tests refactored.