Clear functionality and clear buttons added

...and some notes here and there