create initialize function for trello clone