Add a preloader

For Issue #292