Write interactive_sample, refactor util.py interface

TODO: Clean up forum.py and make sure interactive_sample works as intended