Implemented permalinks for simulations. Added some docs.