Refractoring. Added gain boost code and micron register access.