build basic layer structure