added setters and getters methods

Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>