positioning system

first updates of positioning system
fixes