A few small code updates, updated so that everything conforms to PSR1 an...

...d PSR2 standards, moved some of the crytpo classes into a crypto directory, add function to return invoice information