Refactor load logic into separate file
Add goal details parsing