Removed nested class

Tried to figure out image rendering. Failed :frowning: