Added log file
Fixed logging path
main method added to test the class
Fixed small bugs related to letters.
Updating locations to postgres table