Update AG lib dependency to use snapshot
Refactor packages and move Pipeline from Application