Validation finished. Basically finished everything:).
A lot of room for code improvement. I was working overtime and barely managed to finish, so everything is unpolished.