Moved parsing functionality to the new class; added print as default command