Most usefull function moved to 1 file.
Refactored code and added disabled button on save and no name filled in.