Added UIDevice hook to control available free space calculation.
Added placeholder for controlling total disk space.