layers framework