Added SSL, handlebar templates and renamed actions to REST methods