Moving Format code to Utilities
Code beautification and minor startup improvement