Edited urlParamModel events handlers
Completed subscrition handling

Refactored the api handlers - moved to a designated handlers object