Library page slightly overhauled, still need to write the publish function