Just check out what Alex does in class for it. Otherwise, a good start here.