Refactoring context menus (WIP)

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>