First ns area

added ns functionality plus a shim for the console.log