Here is a starting point. There is a lot of example code that can be used later if needed.