Move gaia.js to its own directory