Code optimisations
Added setup guide