assert with messages
remove main.d as it is useless now