removes uneccessary files required for an api app