Hey, I posted the question on Stackoverfow but still didn't get the answer yet. Since I'm in kind of a hurry I did some research and found a partial solution (posted it as an answer) but one issue still persists.
I'd be very happy if someone takes a look and tries to help.
The question is not really short so I'm just posting a link here to the post itself:
Link to postThanks :D