added: conf for width and height

+ additional functions for better build configuration array