Multi-layer controlled release tablet comprising an active layer and one or more barrier layers