Finished MasterHandler

Signed-off-by: Techcable <Techcable@outlook.com>