Update to version 0.1.1 and refactor bin