Externalized toCustomFormat into a type class.
Moved fromCustomFormat methods into the type class CustomFormat.
Moved fromCustomFormat tests into CustomFormatSpec.
Moved imports out of main code.
Changed name of to() to serialize and from() to deserialize() outside of the CustomFormat class.
Combined some formatting Params classes, and shortened their names.
Finished moving things into CustomFormat, and made corrections to tests.