Created new BImage and BPartition classes. Still debugging.