Add lib/ directory, move stripe API into it