implementing form filling logic, added utf support
merged conflicts from class
finished form filling