Code cleanup, removed unnecessary require.
Added a logout function.
More code cleanup.
For the inventory listing, added headers and a Stack number.
Merge pull request #7 from jbackfield/master

Fixing issues 3, 4, 5, 6 and code cleanup