Fixed Bugs

fixed namespace issues,
fixed accessibility issues,
created connection service.