Removed v3 folder, split config and api into different source files