Created public parse method

just exposed the `parse` method as a public static function.  Created a test for it as well