Added Altitude support and cleaned some code.

Remved the debug activity and added altitude to the database
Added altitude, check for existing batch

Renamed kind column names
Added altitude
Check for existing batch and session to prevent write overheads
Used import static import

replaced fully qualified name with a simple import
Altitude removed if it does not exist
Added dummy data
Merge pull request #3 from chetankothari/master

Altitude, Check for existing batch and session.