offline data support added

client side now supports offline browsing, server side api's are
available here.