fix spacing
move api_hepers.js to helpers folder
add type to links for testing
refactor character to use promises