Lets start with the second request, the template of B4XPage classes will be updated with:
Code:
Public Sub Initialize As Object
Return Me
End Sub
This will allow you to add the pages with:
Code:
B4XPages.AddPage("Page 2", Page2.Initialize)
B4XPages.AddPage("Page 3", Page3.Initialize)
About the first request, I plan to add support for project templates. It will probably be included in the next version.