added shadow logic and moving all helper functions into one files
added hide/show logic to layer. Line now wraps by LeafObject drawer