Fixed interface naming
Refactored code: removed all redundancies in the model code
Changed all major queries to work with usernames instead of Ids
Merge pull request #2 from SyntaxError2014/models

Some refactoring