Added models.
Added initial tests files and ring functions.