Added random string generation and some documentation