Added the ability to get the position to database
Fixed commit errors