before changed to swap and slack
Refactored the code
Updated README