refactor: break up analysis part into separate osta package