added define for true/false, moved them to header