adding base rendering and layer class for native input