refactored datawire and created usage doc