refactored get data function to be more abstracted and moved it into core of component
refactored component
removed validation
added new build