Layoutmanager implementation and new frame form based on the template options