merge utils into main component and use a real class for the bootstrap code