Neural network skeleton in TypeScript