Changed API-module design.

Now uses the "sub-module" folder design.