Moving things around into a common module.

Moving PortMapping and test into its own file.

Adding lib.rs to pull everything together.

Updated makefile to remove run target.

First stab at #3 but it looks like this will be blocked
until the stdlib JSON decoder is more feature rich.