Added Bootstrap

Simplifies code and streamlines error handling.