finished setting up basic reddit functionality