Change import syntax

Reflects preferred method of invokation and stick with html-esque style.
Also allows arbitrary amount of attributes.