updated styles.get to handle if the input is a dict and create a new style
added first iteration of returns from layers. it needs more work, however.