Added model, registry and view. Also tested some stuff