Modifications of schema and protobuf messages
remove unused code
remove dead code, add aditional tests to item class
some cleanup