Added a library project
Added a library project (used in test006) and will be extended over time
Moved some common code to a library