Created Medicus.js for all application logic