Added and improved documentation