layer manager implementation