added plugins support, added template IDataSource, added PullToRefresh plugin