Refactored publications and working on runtime