Project 1 version 2

This is the latest version of the code which does not yet renders
borders properly on Amazon Kindle Fire KDX devices