Fixed parsing of port variable and moved twitter setup to start up of component