I am using a kind of framework where every time I make a new Java project. I have to arrange the files in the appropriate packages and reference the appropriate external JAR
You need to write an Eclipse plugin for that, and concentrate on New Project Wizard.
About writing Eclipse plugins, it is covered in Stack Overflow question How to write a plugin for Eclipse?.