a little improvement

code refactoring
port to python3
add some new file extensions
add informative error message when file can`t be moved