Refactor code, convert nib to programmatic creation. All tests still pass.