Add some java classes for canvas, layers and elements