Initiating Component (data, paser..)in begining instead of in main
function