Split up code into Android library project and Sample