Major refactoring: exceptions cleanup, cassandra data model improved.