Added loader class. WIP, TODO.