add object validation
improve bash parameters format
refactor everything