Extracted file handling to its own module
Added module default config to default.json
Note: port changed to 8081 (default port used when running snowcat on my system)