Improved the BDS system, and made a parser to read a BDS file