implemented views with underscorejs and make all api calls async