Added code for Open and Source buttons

- Updated Readme
- Ordered code
- Made code easier to read
- Renamed some objects