splits Post model into subclasses for its types

It's better design to use model inheritance, and it will likely help to make
this code more readable and maintainable. Instead of constantly checking LIN
or NTE as a field, a higher level of abstraction can be used elsewhere in
the code.