Initial copy from xp branch of ytd-android from code.google.com project