Addition of resolution configuration, cleanup

Signed-off-by: GreatEmerald <pastas4@gmail.com>