redesign the app layout

having trouble connecting to the server and running the accelerometer,
i have used the BluetoothChat example a blueprint for the design for the
app.