Updated to latest polymer and refactored libraries.

a weird error (NoSuchMethodError: method not found:
'_publishLC@0x29474386') is occuring