[API] Moving Fragment class to align module.

Should fix #231