feat(js): remove console.log
core(architecture): restructure files