changed readme and added defines