fixed coding standards
refactored all the code
fixed the main file name
added pot file