Second version of the Smart Node codebase. Written in Java