Create X.Base, X.Matrix and X.Vector classes and glue everything together using X.js.