Added some proper code structure to fsbox