- Add license and copyright header - Refactor code and fix trap losetup
Signed-off-by: Nikita Maslo <nikitamalco203@gmail.com>