changed module format (now functions) - fixed sub resources, better DNS examples