Network: Simplified some loops.

Just realized I can do while(NULL != (de = readdir(d))). Awesome, learn something new every day :)

Signed-off-by: matematik7 <domen.ipavec@z-v.si>
Storage: Created storage module.

Signed-off-by: matematik7 <domen.ipavec@z-v.si>