Made index render reasonably withoutstyling
Added back pagination and template clean up