moved shiro code to its own package