Added PCB contrains
multiple minor fixes