Updated documentation and switched to use path to find component stuff