installed better erroes, basic policy for inspector
added an inspection policy, added logic for this and the inspector policy records