changes first line parser to use pyparser
move pyparser elements into own file