Model subpackage

implements a models subdirectory and makes sure all examples/solutions work properly. closes #37