added versioning support. fixed default create bucket behaviour, now checks if bucket exists first