added first version of agent and application