Seperate inner queue classes from traceMan file

In ordere to make the trace manager run on Android OS it has been request
to remove inner classes from trace man class and put them into seperate
class files.