move database and repository to data directory