Clean up block files, add all blocks to list of API-accessible blocks.