add translation class
add gitignore
add mobile detection helper class
fix some comments