Add gitignore.
WIP Refactor

- Use argparse
- Use classes for bottle app instead of global variables and functions
Refactor complete.
Add a bunch of standard files.