Removed string generation function

Split out parsing from file and string

Fixes #10
Fixes #11