Adds main element plus addresses class names. Resolves #6