Fixed service creation and initial binding.
Added some documentation.