[IMP] initial review refactorings

- nullable, default for columns
- argparse instead optparse
- normal import instead of hack
- repr