Finished Gas API. PRs/improvements are welcome