Revert "Revert "save commit""

This reverts commit 5c5445164b9189d7eb99eec1e177cdf2ac4a7085.
implement coorde detail view
delete debug code and refactored