Added abstract class to implement InputProcessor which can deal with Accelerometer of android