Rearranged code structure
Remove obsolete config strings
Add new config string - apiUrl