Added ability to delete targets. UI is working awfully bad to achieve this, but this is almost a test code to test API. we need to come up with design and clean up code subsequently.