Split the parsing and python classes into two files