I can't work out how to change midi patch sounds to my melody track.

Also is there a way to write in tempo changes to the entire track at specific points? Key changes? Thanks.