User settings factory is added
Upload handler uses ns_state
Get handler uses ns_state
Delete handler uses ns_state
Downloadinfo handler uses ns_state
Statistics handler uses ns_state
Unused code is removed
Merge branch 'feature-mds-347' into development