refacotr and basic setup docs