Added some profiling and added get and delete methods