Added generic parsing functions

+ access flags data parsing
+ functions for printing type descriptors and generic strings, basically wrappers for some duplicated code