Fixed my mistake (unmerged my parts from the simulation file)
Improved some functions
Added basic selection process
reorganized functions and parameters
TODO finish parameters list and offline functions