Changed CSS origin to enum.
Replaced BitSet with EnumSet.
Replaced home made base64 decoder with commons codec implementation.
Used commons codec to decode URL data strings.