Added Fpga1 Cleaned some code