Added Hook class and implemented basic hook implementation.