templated and added dynamic_cast to getter in LGEntity
added input directory and added LGTouchObserver