Moved parsing exceptions to parser.hpp. Simplified header inclussions.