Split `bag.sql` into smaller files

Single file that should be executed as different users is not so handy,
therefore split it into a bunch of smaller files. Keep `bag.sql` around
for a while, eventually it'll be removed.