Selecting and opening templates implemented.

All editing related code commented out. Code needs to be cleaned up.

Change-Id: Ibe901684d8747552b8ebeeea848c8f5e050ae726