added comments and hopefully deleted unnecessary files