Modularizing code, attempted to interface with NAPFA, failed to js requirements