bump to 0.4.0 and use silk-core 0.4.0