Updated math to use fs types and added readme to externals