A comprehensive model for surface and subsurface hydrology for small catchments