class parser