Added templating, registration page along with newer leapjs class