Added configuration fields

Now it's easier to configure id length and upload directory