implemented spring and quad imports and layer sorting. 80% documentation