moved reddit api querying to it's own object
added experimental history support
moved color declarations to var file