Removed model definitions from main script.
Implement models in separate script.