added another version of gainda for flexible view and tiles creation and samples of it