move most comments to private. start on public API methods. set credentials as class variables through class method