fixed syntax/spelling errors
updated usage of microslice interface
fixed missing includes/forward declarations, updated usage of renamed class
added and removed(!) some const qualifiers