add api doc resources
refactor root pro files