added class support to layer canvas
updated