WIP: Seperate addon helper functions into AdapterJS class