defining client side "modules"