Added sources

Quaternions are still to be refactored to new style