Initial outline of framework.
Adding preliminary tests.