Added parent method.
Implemented parent directory change.
Added render method.
Updated to strip trailing slash.