Added doc strings, documentation