refactors main to a class and moved obd2 items into their own module.