code cleanup
basic index display working
basic configuration support