Meshes 1

Added base mesh api. Still alot more to do.