Improve parser, added custom exceptions for various purposes and added a few more translations.