Functionalized. Option for allowing/disallowing startFromScratch. parse function unwritten. bugfix.