An Adaptive Wavelet Collocation Method for Fluid--Structure Interaction - Part I