added intent structure and started messaging