Folder and namespace structure refactoring. Added base class for session and peer operations.
Added timer class
merge from master