"Create style" function
installation from JSON

added method for installing styles from JSON object