Minor improvements

Improves the readability by reducing some unnecesary methods and
cleaning up some classes.

*Adds model getRow and getAll for cleaner db queries