Initial module dev version

[skip-ci]
Misc: added phpunit tests
Misc: update .travis.yml
Bug: fixed config static must be private