Hi!
Take a look at this tutorial:
Based on what you described it should be easy for you to adapt the training data to your requirements.