Added createRegistry and createRouter functions to Swift Class.