Thanks Ivan.I have solved half of that problem myself and reworded the pending questions.You can see that here