Cleaning up a bit
Created get_entries() and get_data()
Added output formats and documentation