rewrite classes with UMD, added example app, added bower