added dependencies and reformated related files