environment configuration added for localhost and production server
small routes fixes
fixed many issues with locations