Moved bulletin logic to a separate class

generate.py now handles command-line interface and writing the output to
the file. Bulletin class handles all logic with loading and parsing JSON
configurations.