Added basic documents functionality
Basic documents fixed