added comments to bcj_db.class.php
changed some styling
added comments to check.php