fixed insert methode and clean up a little
delete, insert and read now working properly. but scan is making trouble.