Move state manager to submodule
Use read-only github url for state-manager submodule