Make request views more modular and improve code format
Replace tabs for spaces in models