fixed toLowerCase since it is not working on linux/mac
renamed methods to be easier to understand
fixed two bugs
added eclipse settings to have all developers same coding style
let eclipse cleanup the messages