add framework and layout template