Remove trailing whitespaces
add GPS and preview controller