Create 3 actions: for render template, for render default page, for return JSON. TODO: Add to default page list of available templates