Moved form server to common since the client can use this class also.
Generalized the javadoc.