classes moved from model to classes folder
fixed avatar if no set in user profile
fixed typo in name of db table
Merge pull request #5 from Dukecz/master

classes moved, error fixes