Refactor Models

Create a base model with derived logistic regression and neural
network implementations.