Added TKLayer class