Adds fitting parser

Resolves #9