improved web interface code
Updated ignore files and made API give out a confirmation