Latroids and their representation by codes over modules