Added ability to build index for a single model (issue #31)