full adding functionality and side railing, renamed some files