check policies full cycle + refactor all instances field to java convention
Formatting and commenting code