This separates the main() entry point from the functionality we're hoping to test. While here, redo the header guards to be consistent accross the codebae. Bug: 23516947 Change-Id: I61666126bdba0941f14bd0f031caaa30367b864a Test: Compiles