An agreement gets considered a contract when made with the free consent of parties competent to contract, with a lawful object and for a lawful consideration and not expressly declared to be void.