Merge pull request #48 from cchacin/master

Use interfaces to easy DI and Unit testing
license header added
Initial cluster support. Preparing Master/Slave structure. #27
license header added
Comments added
RLock optimization