Code and documentation at https://github.com/brianchirls/popcorn-base/