[dev]: added a gitignore and fixed some issues with the loader and config