Full rewrite of the class structure

Added a new class EpackApplication that manage all the others