general cleanup + moving to new api-builder

- changed APIBuilder for Network.API.Builder inside imports
- sorted imports alphabetically
- removed pointless rearms
- fixed warnings
- cleared up hlint complaints