Format code base