* Removed unneeded imports.
 * Cleaned up code.
 * Refactored to AppD code standards.
 * Added protocol configuration option.