Fixed some sync issue and streamline position calculations
Added some ignore files