Renaming lib/ to src/
Renamed and refactored code.

- Removing unneeded files
- Renaming 'Events' to 'Beacon' to avoid Bower conflicts with NodeJS package 'events'
- Refactored code to get rid of Event class
Renamed file.
Renamed events folder to beacon
Finished refactoring code and adding README