Added basic task api to be refactored later | Added bootstraping logic