created dynamic indexing

my personal method of handling an index request.
Config creation

basic configurations with some commenting