Refreshed file structure and code examples

Added a proper README file, updated .gitignore, rearranged file
structure to make requiring the library easier.