added a basic spring layout class
changes to reflect the new spring layout class