added initial support for use of sharedpreferences
add gson