Fix typo
Move checksum calculation to Unit class
Move previous source handling to Unit class