Fix code style, change names of parametrs and functions
Fix used Random class
Fix using getters