refactoring in order to use only bgImage form darc
Modifications and clean up variables names
Getting new centroid method
Adding correct subap flag to fits
Adding methods to get BG image and save as fits
refCentroids , similar thing.