TODO move mlx .c and .h files in its own directory