Code for the N3XT console (Written in java)