Implement basic attach and stalking logic
Add a test script to speed up development