removed waste.
Moved functions to actions.js for better structure
uncommented console logs, edited README file