Add usage instructions. Refactor executable