move tests to unit directory
add config class and spec
Add rubocop and coveralls