Refine location implementation and the test(embeded on-memory FTP server), and introduce new log
system.