Rename main to createrepo
Imrove argument parser
Create DB inside