Add code for unit testing and .ignore file