Added class for comments. Started documenting more

Next:
    move things into their own file
    fix crashing when there is no field