Some class cleanup

- private members in class builder
- graph drawing out of builder
- parse function cleaned up
- build classifier fuction
- some extra cleanup