* Renamed source and test files.
* Updated references.
* Applied some DRY techniques.
* Added parsing if model is a string.
* Added necessary unit tests.