Updated to 0.5.0, and implemented BWLib dependency.