Added pull to refresh, and a few impeleentation changes.