Minor refactorings
Added noun classes and modified dictionary layout
Added tests for nouns