Code organization

TESTED: None of these affect the examples, public tests OR private ones
-Moved code to separate files (user/msg Managements)
-Moved prototypes to source.h and edited them
-Edited comments
-Cleaned out useless stuff
RE: Code organization

Dunno why I have to repeat the same commit.