Android Repo Tool Written in C99 with some more sane behaviour