Reorganize to library project
Target android sdk 17
Improve the gitignore file