refactoring further nasainterface
deleted spike coding and did appropriate unit testing