add layer support
update readme
fix height/width change issue for default element rendering
implement clock example
implement init object in element constructor