Mobile views & code refactoring to support mobile dev.