Updated docs and refactored component to use utils functions