Use post-receive hook instead of update hook, because update hook is called before repository is stored.
Refactored out hard-coded paths to an env file.
Updated gems.
Fixed bugs.
Added repository creation time.
Partly implemented repo index and revision index.