Some minor formatting.

Signed-off-by: Peter Atashian <retep998@gmail.com>
Moved nx into a proper library crate

Signed-off-by: Peter Atashian <retep998@gmail.com>