Moved creation of instances to start function. Made several coding
convention changes.