reworked a bunch of imports
added parse code
added test parse case