improving gradle setting and entity test
adding git ignoring files
fixing test