imporved datastructures. now datastructures needed to be castest to thier special type in specific view
updated datastructures and merged to develop branch