first step for an effective implementation

new structure, command line parameters..