Refactoring and extracting dimensions

Removed unused dimensions
Extracting dimensions from layout and style files

Change-Id: Id9ecb9dfe8637de6cb1207c6790782ff241fc61c
Add support for querying server version

Add Database table for storing server version
Add server version sync processor

Change-Id: Iee5fe70e8a289cb70cc257f3776c69bfdad23e4c
Fix line endings

Change-Id: I05a4e4883ec7500d3ed61da6591d55d3fc44071c