There are several tutorials on the web that do what you describe.