Added modules, and moved related code from asana.js to them