Feature/index file

Added index file functionality for issue #25