added gson dep
added plog bean
modified to use the bean class