Refactoring with libraries
Refactoring one binary per command
Updated README