Fixed svc_check_name to check name length too
Finished with most of refactor, and compiles and runs again