Initial commit based off android_core src