Add state management
Merge and start of ajax calls