Added test data
Refactored
refactored, added input dialog
Input dialog works correct
completed all queries
reformated code