Fixing processor status setter
Mem is an interface
Refactoring stuff
Started writing tests
Fatalf to Errorf
Merge pull request #4 from qatsindio/writing_tests

Writing tests